package com.ansion.basedb.database;

import com.ansion.basedb.dao.model.BaseModel;

import java.util.List;

public interface DBOperateAsyncListener {
	/**
	 * database option result
	 */
	public <T extends BaseModel> void onPostExecute(DatabaseOptionType optionType, Class<T> claz, List<T> successModels, List<T> failModels);

    default boolean needUIThread() {
        return true;
    }
}
